<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>16_navigator对象</title>
    </head>
    <body>
        <script>
            console.log(navigator.appCodeName);
            console.log(navigator.appName);
            console.log(navigator.cookieEnabled);
            console.log(navigator.platform);
            console.log(navigator.appVersion);
            console.log(navigator.userAgent);
        </script>
    </body>
</html>